import request from "@/utils/request";
// 获取已购买该乐谱的用户名单
export function getPaidUserListByMusicScoreId(music_score_id, limit, page) {
    return request({
        url: `/api/v1/paid/getUserList/${music_score_id}/${limit}/${page}`,
        method: "get",
    });
}
// 通过用户id添加乐谱支付名单
export function AddMusicScorePaidListByUserId(data) {
    return request({
        url: `/api/v1/paid/musicScore`,
        method: "post",
        data
    });
}
// 通过用户id撤回乐谱支付名单
export function WithDrawMusicScorePaidListByUserId(data) {
    return request({
        url: `/api/v1/paid/withdraw/musicScore`,
        method: "delete",
        data
    });
}
// 查看该乐谱用户的付费状态
export function ReviewUserMusicScorePaidStatus(user_id, music_score_id) {
    return request({
        url: `/api/v1/musicScore/paid/status/${user_id}/${music_score_id}`,
        method: "get",
    });
}
// 为用户充值金额
export function UserRecharge(data) {
    return request({
        url: `/api/v1/paid/coin/recharge`,
        method: "post",
        data
    });
}